package karileet.meeting.profile.list.holder;

import android.widget.TextView;
import karileet.meeting.profile.list.item.ListItem;

/**
 * Class representing layout object, meanwhile reflecting ListItem
 *
 * @author markus
 */
public class ListItemHolder implements IMainListItemHolder {
    private TextView title;
    private TextView description;
    private ListItem ListItem;

    public ListItem getTag() {
        return ListItem;
    }

    public void setTag(ListItem ListItem) {
        this.ListItem = ListItem;
    }

    public TextView getTitle() {
        return title;
    }

    public void setTitle(TextView title) {
        this.title = title;
    }

    public void setTitleText(CharSequence text) {
        this.title.setText(text);
    }

    public void setDescription(TextView description) {
        this.description = description;
    }

    public void setDescriptionText(CharSequence text) {
        this.description.setText(text);
    }
}
